<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader: qspi.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Common bootloader for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('qspi_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qspi.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2013-2016, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification,</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * are permitted provided that the following conditions are met:</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * o Redistributions of source code must retain the above copyright notice, this list</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *   of conditions and the following disclaimer.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * o Redistributions in binary form must reproduce the above copyright notice, this</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *   list of conditions and the following disclaimer in the documentation and/or</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *   other materials provided with the distribution.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * o Neither the name of Freescale Semiconductor, Inc. nor the names of its</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *   contributors may be used to endorse or promote products derived from this</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *   software without specific prior written permission.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#ifndef __QSPI_H__</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#define __QSPI_H__</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &quot;memory/memory.h&quot;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;bootloader_common.h&quot;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">// Definitions</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment"></span><span class="preprocessor">#define QSPI_LUT_MAX_ENTRIES 64</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#define QSPI_PRE_CMD_CNT 4 </span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#define QSPI_FEATURE_ENABLE 1</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#define QSPI_VERSION_NAME &#39;Q&#39;</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gafe5d4eb1c09cf453dff43220b6a12703">   51</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__qspi__driver.html#gafe5d4eb1c09cf453dff43220b6a12703">__qspi_config_block_tags</a></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;{</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ggafe5d4eb1c09cf453dff43220b6a12703ac54a224f2e32adbbc6fb471c693cc27e">   54</a></span>&#160;    <a class="code" href="group__qspi__driver.html#ggafe5d4eb1c09cf453dff43220b6a12703ac54a224f2e32adbbc6fb471c693cc27e">kQspiConfigTag</a> = FOUR_CHAR_CODE(<span class="charliteral">&#39;k&#39;</span>, <span class="charliteral">&#39;q&#39;</span>, <span class="charliteral">&#39;c&#39;</span>, <span class="charliteral">&#39;f&#39;</span>),</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    kQspiVersionTag = FOUR_CHAR_CODE(0, 2, 1, <span class="charliteral">&#39;Q&#39;</span>),</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;};</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ga02f1188c182bdacfcea22e66919c6759">   61</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _qspiflash_mode_option</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;{</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga02f1188c182bdacfcea22e66919c6759ad127a926c5d34cc1da7b897270fa3936">   63</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga02f1188c182bdacfcea22e66919c6759ad127a926c5d34cc1da7b897270fa3936">kQspiFlashMode_Serial</a> = 0,  </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga02f1188c182bdacfcea22e66919c6759af02a1e4ae16ecb0018f17ac9ade3c1ea">   64</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga02f1188c182bdacfcea22e66919c6759af02a1e4ae16ecb0018f17ac9ade3c1ea">kQspiFlashMode_Parallel</a> = 1 </div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;} <a class="code" href="group__qspi__driver.html#ga02f1188c182bdacfcea22e66919c6759">qspiflash_mode_option_t</a>;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ga1ea9651e0eca55cae9a374022ff766c9">   68</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _qspiflash_pad</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9ad57eaa96587461c244ddf5fff21ab485">   70</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9ad57eaa96587461c244ddf5fff21ab485">kQspiFlashPad_Single</a> = 0, </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9ace1db470ba87b9cf358d0a116072e4b2">   71</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9ace1db470ba87b9cf358d0a116072e4b2">kQspiFlashPad_Dual</a> = 1,   </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9ad061152bfb2f7db55b12c4fa1876f6ce">   72</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9ad061152bfb2f7db55b12c4fa1876f6ce">kQspiFlashPad_Quad</a> = 2,   </div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9a4a3310d6637f9545812cf6c804b15452">   73</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9a4a3310d6637f9545812cf6c804b15452">kQspiFlashPad_Octal</a> = 3   </div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;} <a class="code" href="group__qspi__driver.html#ga1ea9651e0eca55cae9a374022ff766c9">qspiflash_pad_t</a>;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ga3cb2930eb063b8a0ee0d0ad6461185dc">   77</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _qspi_serial_clock_freq</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;{</div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga3cb2930eb063b8a0ee0d0ad6461185dcae5253546d3c63443dfc65b31b73ead05">   79</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga3cb2930eb063b8a0ee0d0ad6461185dcae5253546d3c63443dfc65b31b73ead05">kQspiSerialClockFreq_Low</a> = 0, </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga3cb2930eb063b8a0ee0d0ad6461185dca6bff6a7c4e62c14970831981b76e91bb">   80</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga3cb2930eb063b8a0ee0d0ad6461185dca6bff6a7c4e62c14970831981b76e91bb">kQspiSerialClockFreq_Mid</a> = 1, </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga3cb2930eb063b8a0ee0d0ad6461185dca8495248acb7110dbdceba1320f411c92">   81</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga3cb2930eb063b8a0ee0d0ad6461185dca8495248acb7110dbdceba1320f411c92">kQspiSerialClockFreq_High</a> = 2 </div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;} <a class="code" href="group__qspi__driver.html#ga3cb2930eb063b8a0ee0d0ad6461185dc">qspi_serial_clock_freq_t</a>;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ga77c6eb19e36d42fe30542f0be5abc36c">   85</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _qspiflash_property</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;{</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    kQspiFlashProperty_InitStatus = 0,</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36caac12ddbbb8d1af4a825d8281dd4fda08">   88</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36caac12ddbbb8d1af4a825d8281dd4fda08">kQspiFlaghProperty_StartAddress</a> = 1,           </div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca5b2df491537e6e71d243af92571d9f5c">   89</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca5b2df491537e6e71d243af92571d9f5c">kQspiFlashProperty_TotalFlashSizeInKBytes</a> = 2, </div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca208d8a537dde51f4e386b166fbffdfc8">   90</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca208d8a537dde51f4e386b166fbffdfc8">kQspiFlashProperty_PageSize</a> = 3,               </div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca72cfbab9cddf61c000309066469b44b6">   91</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca72cfbab9cddf61c000309066469b44b6">kQspiFlashProperty_SectorSize</a> = 4,             </div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca283f59e5b05dd12d456d32b4bd6d275f">   92</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca283f59e5b05dd12d456d32b4bd6d275f">kQspiFlashProperty_BlockSize</a> = 5,              </div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36caf611c1199a61e43eab834edf45476b06">   94</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36caf611c1199a61e43eab834edf45476b06">kQspiFlashProperty_TotalFlashSize</a> = 0x10, </div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;} <a class="code" href="group__qspi__driver.html#ga77c6eb19e36d42fe30542f0be5abc36c">qspiflash_property_t</a>;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gac381772c6d2e8cee12b12f007414ef24">   98</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _qspi_endianness</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;{</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24af6ce7414a3875c261694c94c593bba5e">  100</a></span>&#160;    <a class="code" href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24af6ce7414a3875c261694c94c593bba5e">kQspiEndianess_64BE</a> = 0U, </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24af1730f16b6016833750edaaecff46c6a">  101</a></span>&#160;    <a class="code" href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24af1730f16b6016833750edaaecff46c6a">kQspiEndianess_32LE</a> = 1U, </div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24a7be4271723d9a2c6f8e681c8c2153c22">  102</a></span>&#160;    <a class="code" href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24a7be4271723d9a2c6f8e681c8c2153c22">kQspiEndianess_32BE</a> = 2U, </div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24aab8369c9ad827efab388289c9be9d525">  103</a></span>&#160;    <a class="code" href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24aab8369c9ad827efab388289c9be9d525">kQspiEndianess_64LE</a> = 3U, </div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;} <a class="code" href="group__qspi__driver.html#gac381772c6d2e8cee12b12f007414ef24">qspi_endianess_t</a>;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ga576461d7b38d5b13deca88af49c316c6">  107</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _qspi_port_enable</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;{</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga576461d7b38d5b13deca88af49c316c6a18a7922896000616fea087b277fa2a8d">  109</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga576461d7b38d5b13deca88af49c316c6a18a7922896000616fea087b277fa2a8d">kQspiPort_EnablePortA</a> = 0U,    </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga576461d7b38d5b13deca88af49c316c6af164e49e9abdba0c40d79bf7cd97edf8">  110</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga576461d7b38d5b13deca88af49c316c6af164e49e9abdba0c40d79bf7cd97edf8">kQspiPort_EnableBothPorts</a> = 1, </div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;} <a class="code" href="group__qspi__driver.html#ga576461d7b38d5b13deca88af49c316c6">qspi_port_enable_t</a>;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ga6698308aac86ad1fa3b7ffa8a98fb24d">  114</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _qspi_ahb_data_transfer_size</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;{</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6698308aac86ad1fa3b7ffa8a98fb24da79456c42f1ee632fe69e7895ec6c9879">  116</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6698308aac86ad1fa3b7ffa8a98fb24da79456c42f1ee632fe69e7895ec6c9879">kQspiAHBDataTransferSize_64Bytes</a> = 8U,   </div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6698308aac86ad1fa3b7ffa8a98fb24da6fb67fc54308b9f33e03bcfeb0a4790e">  117</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6698308aac86ad1fa3b7ffa8a98fb24da6fb67fc54308b9f33e03bcfeb0a4790e">kQspiAHBDataTransferSize_256Bytes</a> = 32U, </div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6698308aac86ad1fa3b7ffa8a98fb24da9b719ef9be46b0106d1a70022b325ce3">  118</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6698308aac86ad1fa3b7ffa8a98fb24da9b719ef9be46b0106d1a70022b325ce3">kQspiAHBDataTransferSize_512Bytes</a> = 64U, </div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;} <a class="code" href="group__qspi__driver.html#ga6698308aac86ad1fa3b7ffa8a98fb24d">qspi_ahb_data_transfer_size_t</a>;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ga6bb53687c44bed1563bfe692a2e16151">  122</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _qspiflash_status</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;{</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a67c37c7e7b0872e2909644db1364d598">  125</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a67c37c7e7b0872e2909644db1364d598">kStatus_QspiFlashSizeError</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 0),</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151ab1a8d97862962a64fcd67bb70de9fa1b">  127</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151ab1a8d97862962a64fcd67bb70de9fa1b">kStatus_QspiFlashAlignmentError</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 1),</div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151afa75b3a37f2584784385213cfbbb051c">  129</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151afa75b3a37f2584784385213cfbbb051c">kStatus_QspiFlashAddressError</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 2),</div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a26a06eb4823c619f88da26537f09496c">  131</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a26a06eb4823c619f88da26537f09496c">kStatus_QspiFlashCommandFailure</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 3),</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a5f62db80f47121ce3cdc2d3b0afc0b82">  133</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a5f62db80f47121ce3cdc2d3b0afc0b82">kStatus_QspiFlashUnknownProperty</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 4),</div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151ad106f03c095c273e7c8940a0a69e0a69">  135</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151ad106f03c095c273e7c8940a0a69e0a69">kStatus_QspiNotConfigured</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 5),</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151aefb307b5c4e07bf664d9dd2240650830">  138</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151aefb307b5c4e07bf664d9dd2240650830">kStatus_QspiCommandNotSupported</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 6),</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a1248f195df791bd4ddd1e641d459ab2a">  140</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a1248f195df791bd4ddd1e641d459ab2a">kStatus_QspiCommandTimeout</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 7),</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a058a557a98882e18b55364870cb32f45">  143</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a058a557a98882e18b55364870cb32f45">kStatus_QspiWriteFailure</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 8),</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="comment">//        commands in LUT</span></div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151ae7acc06777f1bcf42a185c6df5017160">  147</a></span>&#160;    <a class="code" href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151ae7acc06777f1bcf42a185c6df5017160">kStatusQspiModuleBusy</a> = MAKE_STATUS(<a class="code" href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a>, 9),</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;} <a class="code" href="group__qspi__driver.html#ga6bb53687c44bed1563bfe692a2e16151">qspiflash_status_t</a>;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="group__qspi__driver.html">  151</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>__sflash_configuration_parameter</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;{</div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a1c50fcd1195659821729f52af8f3bb7d">  153</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a1c50fcd1195659821729f52af8f3bb7d">tag</a>;               </div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ab5805c535f737e9a32670f5a45b50add">  154</a></span>&#160;    <a class="code" href="group__bl__core.html#unionstandard__version__t">standard_version_t</a> <a class="code" href="group__qspi__driver.html#ab5805c535f737e9a32670f5a45b50add">version</a>; </div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    uint32_t lengthInBytes;     </div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a013f8cc9ea3b7ff16e17ec0c07352de2">  158</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a013f8cc9ea3b7ff16e17ec0c07352de2">dqs_loopback</a>;          </div><div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a9ac3df101396a7a6f231cc3f12a89702">  159</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a9ac3df101396a7a6f231cc3f12a89702">data_hold_time</a>;        </div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a86813d97daa9aa1eaaf8dfac3cee15c6">  160</a></span>&#160;    uint32_t reserved0[2];          </div><div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ad9f96e50490045236e5e1f82761a0862">  161</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#ad9f96e50490045236e5e1f82761a0862">device_mode_config_en</a>; </div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a903ebe70ed29099250194155e7338a5c">  162</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a903ebe70ed29099250194155e7338a5c">device_cmd</a>;            </div><div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a41a011dcb81c188bc41228dc6cbc88a5">  163</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a41a011dcb81c188bc41228dc6cbc88a5">write_cmd_ipcr</a>;        </div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a6b846245ebf219b1b914b6ba7e2e329b">  164</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a6b846245ebf219b1b914b6ba7e2e329b">word_addressable</a>;      </div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a311d197be3c8cf6229a4928af22a5530">  166</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a311d197be3c8cf6229a4928af22a5530">cs_hold_time</a>;         </div><div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a9a9aacd996b0fe30c79459d244079190">  167</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a9a9aacd996b0fe30c79459d244079190">cs_setup_time</a>;        </div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a41bfe7a61e458006e7c0361a49ac617d">  168</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a41bfe7a61e458006e7c0361a49ac617d">sflash_A1_size</a>;       </div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a75c3e09225679ed59786d46618cf5188">  169</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a75c3e09225679ed59786d46618cf5188">sflash_A2_size</a>;       </div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ab33206084812124a68c2bceea8179175">  170</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#ab33206084812124a68c2bceea8179175">sflash_B1_size</a>;       </div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a0a42f61c3d299b42e669c1f2b9e953b6">  171</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a0a42f61c3d299b42e669c1f2b9e953b6">sflash_B2_size</a>;       </div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a177799396ff679549d62c159146cc8ba">  172</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a177799396ff679549d62c159146cc8ba">sclk_freq</a>;            </div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#acab40d1d05d1dac26ba44e7c950659cd">  173</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#acab40d1d05d1dac26ba44e7c950659cd">busy_bit_offset</a>;      </div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a68b7c31bc85968152c304eb815484592">  174</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a68b7c31bc85968152c304eb815484592">sflash_type</a>;          </div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a66fc3ded81f70633334535096d3481cd">  175</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a66fc3ded81f70633334535096d3481cd">sflash_port</a>;          </div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a9f6925ab173dac9beb2372f030f14a8b">  176</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a9f6925ab173dac9beb2372f030f14a8b">ddr_mode_enable</a>;      </div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a82322c694ee760151cf934579ce5f68d">  177</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a82322c694ee760151cf934579ce5f68d">dqs_enable</a>;           </div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a84c4a4dacb8004e9433162baa328c5e8">  178</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a84c4a4dacb8004e9433162baa328c5e8">parallel_mode_enable</a>; </div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#aaad8e2fad615ba144bfd5c62926585d2">  179</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#aaad8e2fad615ba144bfd5c62926585d2">portA_cs1</a>;            </div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#acc4e5bd1a040b1145d56f7ea811a7d29">  180</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#acc4e5bd1a040b1145d56f7ea811a7d29">portB_cs1</a>;            </div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a8d2cbe700b54093996f555129f0eb7e5">  181</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a8d2cbe700b54093996f555129f0eb7e5">fsphs</a>;                </div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a012825ade562bd8bd99474b6a3b93068">  182</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a012825ade562bd8bd99474b6a3b93068">fsdly</a>;                </div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a2483f6e701fdae5e55506f51039503ad">  183</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a2483f6e701fdae5e55506f51039503ad">ddrsmp</a>;               </div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    uint32_t</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a27893b1d362b16e005c0f68ba07dc810">  185</a></span>&#160;        look_up_table[QSPI_LUT_MAX_ENTRIES]; </div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a1bde68e63a789e4f14a681a502399bea">  186</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a1bde68e63a789e4f14a681a502399bea">column_address_space</a>;           </div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a169e796b2fff8da92747c8ac7c4e1124">  187</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a169e796b2fff8da92747c8ac7c4e1124">config_cmd_en</a>;                  </div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ae9f142352f05b48116f8125f5b8d61fc">  188</a></span>&#160;    uint32_t config_cmds[QSPI_PRE_CMD_CNT];  </div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a4e1e5725f538249abd8c40ee783cc247">  189</a></span>&#160;    uint32_t config_cmds_args[QSPI_PRE_CMD_CNT]; </div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a95aeeb8ee1c74bb50685ce5634f64ad1">  190</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a95aeeb8ee1c74bb50685ce5634f64ad1">differential_clock_pin_enable</a>;      </div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ae5499727b9da2ec2132da606b2995033">  191</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#ae5499727b9da2ec2132da606b2995033">flash_CK2_clock_pin_enable</a>;         </div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a320b0195f07eaa491ffa185fd03ea972">  192</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a320b0195f07eaa491ffa185fd03ea972">dqs_inverse_sel</a>;                    </div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ac9b2e3bf4c9d53d1ce0ac30eef5ef080">  193</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#ac9b2e3bf4c9d53d1ce0ac30eef5ef080">dqs_latency_enable</a>;                 </div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a7837fbcad2149ab1aa3ceb15b5ed38e9">  194</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a7837fbcad2149ab1aa3ceb15b5ed38e9">dqs_loopback_internal</a>;              </div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a65c767a4f608c5477ac852e91bc4f2df">  195</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a65c767a4f608c5477ac852e91bc4f2df">dqs_phase_sel</a>;                      </div><div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a4dbfb33851f77c89ba3502337566e047">  196</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a4dbfb33851f77c89ba3502337566e047">dqs_fa_delay_chain_sel</a>;             </div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a46f61b647f152ab29d9d394aaa9ea109">  197</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a46f61b647f152ab29d9d394aaa9ea109">dqs_fb_delay_chain_sel</a>;             </div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a89b0d07e643ce2685b52150399862ca8">  198</a></span>&#160;    uint32_t reserved1[2];                       </div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a64a0f9cfdfcb358f8c69a1fa4ddd4742">  199</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a64a0f9cfdfcb358f8c69a1fa4ddd4742">pagesize</a>;                           </div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ade06957822f7cbc5e557d0ce191806be">  200</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#ade06957822f7cbc5e557d0ce191806be">sectorsize</a>;                         </div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#af1e2d9086e067491d1609eedf355d756">  202</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#af1e2d9086e067491d1609eedf355d756">timeout_milliseconds</a>; </div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    uint32_t ips_command_second_divider; </div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#af31f37d489ac5e643f3be90df8e144fd">  205</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#af31f37d489ac5e643f3be90df8e144fd">need_multi_phases</a>;          </div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#af237c88621410b1351201748fe7bdc2c">  206</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#af237c88621410b1351201748fe7bdc2c">is_spansion_hyperflash</a>;     </div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#afb396e735ffa4eb84d202a505583c188">  207</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#afb396e735ffa4eb84d202a505583c188">pre_read_status_cmd_address_offset</a>; </div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#ae11896e1c44b35f2bdab619d630a1913">  208</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#ae11896e1c44b35f2bdab619d630a1913">pre_unlock_cmd_address_offset</a>;      </div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a6d5f834a07140ca6f0d9539cc5e905fb">  209</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a6d5f834a07140ca6f0d9539cc5e905fb">unlock_cmd_address_offset</a>;          </div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#af3631b1a0cda575e4e8b2538cc7efe33">  210</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#af3631b1a0cda575e4e8b2538cc7efe33">pre_program_cmd_address_offset</a>;     </div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a86f50cff41cbcad3f98724738b277e00">  211</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a86f50cff41cbcad3f98724738b277e00">pre_erase_cmd_address_offset</a>;       </div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#a9ba738c19ed7741f185229997a0c2666">  212</a></span>&#160;    uint32_t <a class="code" href="group__qspi__driver.html#a9ba738c19ed7741f185229997a0c2666">erase_all_cmd_address_offset</a>;       </div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="group__qspi__driver.html#af92c13ac3473a608bb5c86f5ceba92e8">  213</a></span>&#160;    uint32_t reserved2[3];                       </div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;} <a class="code" href="group__qspi__driver.html#structqspi__config__t">qspi_config_t</a>, *SFLASH_CONFIGURATION_PARAM_PTR;</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="comment">// API</span></div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__qspi__driver.html#gad6043edd2b1f1cbef4cef8f0cddfeb17">quadspi_get_property</a>(uint32_t whichProperty, uint32_t *value);</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__qspi__driver.html#ga7744c96ea1f473d2fa00e2fcba923204">quadspi_page_program</a>(uint32_t dst_addr, <span class="keyword">const</span> uint32_t *src, uint32_t lengthInBytes);</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__qspi__driver.html#ga1128711a597dbbf7b1c0a33b641cbfd7">quadspi_init</a>(<a class="code" href="group__qspi__driver.html#structqspi__config__t">qspi_config_t</a> *config_base);</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="group__qspi__driver.html#gacdb16454cbfc5131bd2bbfe176cfc1e1">is_quadspi_configured</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="keyword">extern</span> <a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__qspi__driver.html#gacaa0aee260c2e21ddb6457f4db51c167">quadspi_iomux_configuration</a>(<a class="code" href="group__qspi__driver.html#structqspi__config__t">qspi_config_t</a> *config_base);</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group__qspi__driver.html#gaa1eb2512bd4dd6b70ac75f2e965d95d7">quadspi_serial_clock_configure</a>(<a class="code" href="group__qspi__driver.html#ga3cb2930eb063b8a0ee0d0ad6461185dc">qspi_serial_clock_freq_t</a> freq);</div><div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__qspi__driver.html#gad3ef8a4c4f6c1087697dc344ada6ec05">quadspi_erase_all</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__qspi__driver.html#gab89ec801f0c26a854636be38815d761b">quadspi_erase_sector</a>(uint32_t address);</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__qspi__driver.html#ga36709d969d7adbde3f7e0b7189463c4d">quadspi_cache_clear</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;}</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<span class="preprocessor">#endif // #ifndef __QSPI_H__</span></div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;<span class="comment">// EOF</span></div><div class="ttc" id="group__qspi__driver_html_a64a0f9cfdfcb358f8c69a1fa4ddd4742"><div class="ttname"><a href="group__qspi__driver.html#a64a0f9cfdfcb358f8c69a1fa4ddd4742">qspi_config_t::pagesize</a></div><div class="ttdeci">uint32_t pagesize</div><div class="ttdoc">page Size of Serial Flash </div><div class="ttdef"><b>Definition:</b> qspi.h:199</div></div>
<div class="ttc" id="group__qspi__driver_html_gga1ea9651e0eca55cae9a374022ff766c9a4a3310d6637f9545812cf6c804b15452"><div class="ttname"><a href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9a4a3310d6637f9545812cf6c804b15452">kQspiFlashPad_Octal</a></div><div class="ttdoc">Octal-pad spi flash. </div><div class="ttdef"><b>Definition:</b> qspi.h:73</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151afa75b3a37f2584784385213cfbbb051c"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151afa75b3a37f2584784385213cfbbb051c">kStatus_QspiFlashAddressError</a></div><div class="ttdoc">Error code which represents that the address is invalid. </div><div class="ttdef"><b>Definition:</b> qspi.h:129</div></div>
<div class="ttc" id="group__qspi__driver_html_a86f50cff41cbcad3f98724738b277e00"><div class="ttname"><a href="group__qspi__driver.html#a86f50cff41cbcad3f98724738b277e00">qspi_config_t::pre_erase_cmd_address_offset</a></div><div class="ttdeci">uint32_t pre_erase_cmd_address_offset</div><div class="ttdoc">Address for PreErase command. </div><div class="ttdef"><b>Definition:</b> qspi.h:211</div></div>
<div class="ttc" id="group__qspi__driver_html_gad6043edd2b1f1cbef4cef8f0cddfeb17"><div class="ttname"><a href="group__qspi__driver.html#gad6043edd2b1f1cbef4cef8f0cddfeb17">quadspi_get_property</a></div><div class="ttdeci">status_t quadspi_get_property(uint32_t whichProperty, uint32_t *value)</div><div class="ttdoc">Get Property from QSPI driver. </div><div class="ttdef"><b>Definition:</b> qspi.c:346</div></div>
<div class="ttc" id="group__qspi__driver_html_gga3cb2930eb063b8a0ee0d0ad6461185dca6bff6a7c4e62c14970831981b76e91bb"><div class="ttname"><a href="group__qspi__driver.html#gga3cb2930eb063b8a0ee0d0ad6461185dca6bff6a7c4e62c14970831981b76e91bb">kQspiSerialClockFreq_Mid</a></div><div class="ttdoc">QuadSPI module works at mid frequency. </div><div class="ttdef"><b>Definition:</b> qspi.h:80</div></div>
<div class="ttc" id="group__qspi__driver_html_gga576461d7b38d5b13deca88af49c316c6af164e49e9abdba0c40d79bf7cd97edf8"><div class="ttname"><a href="group__qspi__driver.html#gga576461d7b38d5b13deca88af49c316c6af164e49e9abdba0c40d79bf7cd97edf8">kQspiPort_EnableBothPorts</a></div><div class="ttdoc">Enable Both PoartA and PortB. </div><div class="ttdef"><b>Definition:</b> qspi.h:110</div></div>
<div class="ttc" id="group__qspi__driver_html_gga1ea9651e0eca55cae9a374022ff766c9ad57eaa96587461c244ddf5fff21ab485"><div class="ttname"><a href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9ad57eaa96587461c244ddf5fff21ab485">kQspiFlashPad_Single</a></div><div class="ttdoc">Single-pad spi flash. </div><div class="ttdef"><b>Definition:</b> qspi.h:70</div></div>
<div class="ttc" id="group__qspi__driver_html_gga1ea9651e0eca55cae9a374022ff766c9ace1db470ba87b9cf358d0a116072e4b2"><div class="ttname"><a href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9ace1db470ba87b9cf358d0a116072e4b2">kQspiFlashPad_Dual</a></div><div class="ttdoc">Dual-pad spi flash. </div><div class="ttdef"><b>Definition:</b> qspi.h:71</div></div>
<div class="ttc" id="group__qspi__driver_html_a9a9aacd996b0fe30c79459d244079190"><div class="ttname"><a href="group__qspi__driver.html#a9a9aacd996b0fe30c79459d244079190">qspi_config_t::cs_setup_time</a></div><div class="ttdeci">uint32_t cs_setup_time</div><div class="ttdoc">CS setup time in terms of serial clock.(for example 1 serial clock cyle) </div><div class="ttdef"><b>Definition:</b> qspi.h:167</div></div>
<div class="ttc" id="group__qspi__driver_html_gad3ef8a4c4f6c1087697dc344ada6ec05"><div class="ttname"><a href="group__qspi__driver.html#gad3ef8a4c4f6c1087697dc344ada6ec05">quadspi_erase_all</a></div><div class="ttdeci">status_t quadspi_erase_all(void)</div><div class="ttdoc">Erase the entire spi flash devices. </div><div class="ttdef"><b>Definition:</b> qspi.c:772</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6698308aac86ad1fa3b7ffa8a98fb24da6fb67fc54308b9f33e03bcfeb0a4790e"><div class="ttname"><a href="group__qspi__driver.html#gga6698308aac86ad1fa3b7ffa8a98fb24da6fb67fc54308b9f33e03bcfeb0a4790e">kQspiAHBDataTransferSize_256Bytes</a></div><div class="ttdoc">AHB data transfer size is 256bytes. </div><div class="ttdef"><b>Definition:</b> qspi.h:117</div></div>
<div class="ttc" id="group__qspi__driver_html_a169e796b2fff8da92747c8ac7c4e1124"><div class="ttname"><a href="group__qspi__driver.html#a169e796b2fff8da92747c8ac7c4e1124">qspi_config_t::config_cmd_en</a></div><div class="ttdeci">uint32_t config_cmd_en</div><div class="ttdoc">Enable config commands. </div><div class="ttdef"><b>Definition:</b> qspi.h:187</div></div>
<div class="ttc" id="group__qspi__driver_html_a95aeeb8ee1c74bb50685ce5634f64ad1"><div class="ttname"><a href="group__qspi__driver.html#a95aeeb8ee1c74bb50685ce5634f64ad1">qspi_config_t::differential_clock_pin_enable</a></div><div class="ttdeci">uint32_t differential_clock_pin_enable</div><div class="ttdoc">Differential flash clock pins enable. </div><div class="ttdef"><b>Definition:</b> qspi.h:190</div></div>
<div class="ttc" id="group__qspi__driver_html_a7837fbcad2149ab1aa3ceb15b5ed38e9"><div class="ttname"><a href="group__qspi__driver.html#a7837fbcad2149ab1aa3ceb15b5ed38e9">qspi_config_t::dqs_loopback_internal</a></div><div class="ttdeci">uint32_t dqs_loopback_internal</div><div class="ttdoc">0: dqs loopback from pad, 1: dqs loopback internally </div><div class="ttdef"><b>Definition:</b> qspi.h:194</div></div>
<div class="ttc" id="group__qspi__driver_html_a66fc3ded81f70633334535096d3481cd"><div class="ttname"><a href="group__qspi__driver.html#a66fc3ded81f70633334535096d3481cd">qspi_config_t::sflash_port</a></div><div class="ttdeci">uint32_t sflash_port</div><div class="ttdoc">0–Only Port-A, 1–Both PortA and PortB </div><div class="ttdef"><b>Definition:</b> qspi.h:175</div></div>
<div class="ttc" id="group__qspi__driver_html_af237c88621410b1351201748fe7bdc2c"><div class="ttname"><a href="group__qspi__driver.html#af237c88621410b1351201748fe7bdc2c">qspi_config_t::is_spansion_hyperflash</a></div><div class="ttdeci">uint32_t is_spansion_hyperflash</div><div class="ttdoc">Determine if connected spi flash device belongs to Hyperflash family. </div><div class="ttdef"><b>Definition:</b> qspi.h:206</div></div>
<div class="ttc" id="group__qspi__driver_html_a8d2cbe700b54093996f555129f0eb7e5"><div class="ttname"><a href="group__qspi__driver.html#a8d2cbe700b54093996f555129f0eb7e5">qspi_config_t::fsphs</a></div><div class="ttdeci">uint32_t fsphs</div><div class="ttdoc">Full speed delay selection for SDR instructions. </div><div class="ttdef"><b>Definition:</b> qspi.h:181</div></div>
<div class="ttc" id="group__qspi__driver_html_gga77c6eb19e36d42fe30542f0be5abc36ca5b2df491537e6e71d243af92571d9f5c"><div class="ttname"><a href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca5b2df491537e6e71d243af92571d9f5c">kQspiFlashProperty_TotalFlashSizeInKBytes</a></div><div class="ttdoc">Tag used to retrieve total flash size in terms of KByte. </div><div class="ttdef"><b>Definition:</b> qspi.h:89</div></div>
<div class="ttc" id="group__qspi__driver_html_structqspi__config__t"><div class="ttname"><a href="group__qspi__driver.html#structqspi__config__t">qspi_config_t</a></div><div class="ttdoc">QuadSPI Config block structure. </div><div class="ttdef"><b>Definition:</b> qspi.h:151</div></div>
<div class="ttc" id="group__qspi__driver_html_ga3cb2930eb063b8a0ee0d0ad6461185dc"><div class="ttname"><a href="group__qspi__driver.html#ga3cb2930eb063b8a0ee0d0ad6461185dc">qspi_serial_clock_freq_t</a></div><div class="ttdeci">qspi_serial_clock_freq_t</div><div class="ttdoc">QSPI Serial Clock Frequency options. </div><div class="ttdef"><b>Definition:</b> qspi.h:77</div></div>
<div class="ttc" id="group__qspi__driver_html_a311d197be3c8cf6229a4928af22a5530"><div class="ttname"><a href="group__qspi__driver.html#a311d197be3c8cf6229a4928af22a5530">qspi_config_t::cs_hold_time</a></div><div class="ttdeci">uint32_t cs_hold_time</div><div class="ttdoc">CS hold time in terms of serial clock.(for example 1 serial clock cyle) </div><div class="ttdef"><b>Definition:</b> qspi.h:166</div></div>
<div class="ttc" id="group__qspi__driver_html_gab89ec801f0c26a854636be38815d761b"><div class="ttname"><a href="group__qspi__driver.html#gab89ec801f0c26a854636be38815d761b">quadspi_erase_sector</a></div><div class="ttdeci">status_t quadspi_erase_sector(uint32_t address)</div><div class="ttdoc">Erase one sector from the provided address. </div><div class="ttdef"><b>Definition:</b> qspi.c:844</div></div>
<div class="ttc" id="group__qspi__driver_html_a320b0195f07eaa491ffa185fd03ea972"><div class="ttname"><a href="group__qspi__driver.html#a320b0195f07eaa491ffa185fd03ea972">qspi_config_t::dqs_inverse_sel</a></div><div class="ttdeci">uint32_t dqs_inverse_sel</div><div class="ttdoc">Select clock source for internal DQS generation. </div><div class="ttdef"><b>Definition:</b> qspi.h:192</div></div>
<div class="ttc" id="group__qspi__driver_html_ga36709d969d7adbde3f7e0b7189463c4d"><div class="ttname"><a href="group__qspi__driver.html#ga36709d969d7adbde3f7e0b7189463c4d">quadspi_cache_clear</a></div><div class="ttdeci">status_t quadspi_cache_clear(void)</div><div class="ttdoc">Flush QSPI cache. </div><div class="ttdef"><b>Definition:</b> qspi.c:1376</div></div>
<div class="ttc" id="group__qspi__driver_html_a41a011dcb81c188bc41228dc6cbc88a5"><div class="ttname"><a href="group__qspi__driver.html#a41a011dcb81c188bc41228dc6cbc88a5">qspi_config_t::write_cmd_ipcr</a></div><div class="ttdeci">uint32_t write_cmd_ipcr</div><div class="ttdoc">IPCR value of Write command. </div><div class="ttdef"><b>Definition:</b> qspi.h:163</div></div>
<div class="ttc" id="group__qspi__driver_html_a9f6925ab173dac9beb2372f030f14a8b"><div class="ttname"><a href="group__qspi__driver.html#a9f6925ab173dac9beb2372f030f14a8b">qspi_config_t::ddr_mode_enable</a></div><div class="ttdeci">uint32_t ddr_mode_enable</div><div class="ttdoc">Enable DDR mode if set to TRUE. </div><div class="ttdef"><b>Definition:</b> qspi.h:176</div></div>
<div class="ttc" id="group__qspi__driver_html_ga1128711a597dbbf7b1c0a33b641cbfd7"><div class="ttname"><a href="group__qspi__driver.html#ga1128711a597dbbf7b1c0a33b641cbfd7">quadspi_init</a></div><div class="ttdeci">status_t quadspi_init(qspi_config_t *config_base)</div><div class="ttdoc">Intialize QSPI module according to parameters passed in. </div><div class="ttdef"><b>Definition:</b> qspi.c:1340</div></div>
<div class="ttc" id="group__qspi__driver_html_acab40d1d05d1dac26ba44e7c950659cd"><div class="ttname"><a href="group__qspi__driver.html#acab40d1d05d1dac26ba44e7c950659cd">qspi_config_t::busy_bit_offset</a></div><div class="ttdeci">uint32_t busy_bit_offset</div><div class="ttdoc">Flash device busy bit offset in status register. </div><div class="ttdef"><b>Definition:</b> qspi.h:173</div></div>
<div class="ttc" id="group__qspi__driver_html_ggafe5d4eb1c09cf453dff43220b6a12703ac54a224f2e32adbbc6fb471c693cc27e"><div class="ttname"><a href="group__qspi__driver.html#ggafe5d4eb1c09cf453dff43220b6a12703ac54a224f2e32adbbc6fb471c693cc27e">kQspiConfigTag</a></div><div class="ttdoc">Tag value used to validate the qspi config block. </div><div class="ttdef"><b>Definition:</b> qspi.h:54</div></div>
<div class="ttc" id="group__qspi__driver_html_gga02f1188c182bdacfcea22e66919c6759ad127a926c5d34cc1da7b897270fa3936"><div class="ttname"><a href="group__qspi__driver.html#gga02f1188c182bdacfcea22e66919c6759ad127a926c5d34cc1da7b897270fa3936">kQspiFlashMode_Serial</a></div><div class="ttdoc">Serial mode. </div><div class="ttdef"><b>Definition:</b> qspi.h:63</div></div>
<div class="ttc" id="group__qspi__driver_html_a9ba738c19ed7741f185229997a0c2666"><div class="ttname"><a href="group__qspi__driver.html#a9ba738c19ed7741f185229997a0c2666">qspi_config_t::erase_all_cmd_address_offset</a></div><div class="ttdeci">uint32_t erase_all_cmd_address_offset</div><div class="ttdoc">Address for EraseAll command. </div><div class="ttdef"><b>Definition:</b> qspi.h:212</div></div>
<div class="ttc" id="group__qspi__driver_html_a41bfe7a61e458006e7c0361a49ac617d"><div class="ttname"><a href="group__qspi__driver.html#a41bfe7a61e458006e7c0361a49ac617d">qspi_config_t::sflash_A1_size</a></div><div class="ttdeci">uint32_t sflash_A1_size</div><div class="ttdoc">Size of flash connected on QSPI0A Ports and QSPI0A_SS0, in terms of Bytes. </div><div class="ttdef"><b>Definition:</b> qspi.h:168</div></div>
<div class="ttc" id="group__qspi__driver_html_gac381772c6d2e8cee12b12f007414ef24"><div class="ttname"><a href="group__qspi__driver.html#gac381772c6d2e8cee12b12f007414ef24">qspi_endianess_t</a></div><div class="ttdeci">qspi_endianess_t</div><div class="ttdoc">Endianess supported by QSPI module. </div><div class="ttdef"><b>Definition:</b> qspi.h:98</div></div>
<div class="ttc" id="group__qspi__driver_html_gacdb16454cbfc5131bd2bbfe176cfc1e1"><div class="ttname"><a href="group__qspi__driver.html#gacdb16454cbfc5131bd2bbfe176cfc1e1">is_quadspi_configured</a></div><div class="ttdeci">bool is_quadspi_configured(void)</div><div class="ttdoc">Get the status of quadspi configuration. </div><div class="ttdef"><b>Definition:</b> qspi.c:1370</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151a058a557a98882e18b55364870cb32f45"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a058a557a98882e18b55364870cb32f45">kStatus_QspiWriteFailure</a></div><div class="ttdoc">Error code which represents that QSPI cannot perform write operation at expected frequency. </div><div class="ttdef"><b>Definition:</b> qspi.h:143</div></div>
<div class="ttc" id="group__qspi__driver_html_a177799396ff679549d62c159146cc8ba"><div class="ttname"><a href="group__qspi__driver.html#a177799396ff679549d62c159146cc8ba">qspi_config_t::sclk_freq</a></div><div class="ttdeci">uint32_t sclk_freq</div><div class="ttdoc">In 00 - 24MHz, 01 - 48MHz, 10 - 96MHz,(only for SDR Mode) </div><div class="ttdef"><b>Definition:</b> qspi.h:172</div></div>
<div class="ttc" id="group__qspi__driver_html_ade06957822f7cbc5e557d0ce191806be"><div class="ttname"><a href="group__qspi__driver.html#ade06957822f7cbc5e557d0ce191806be">qspi_config_t::sectorsize</a></div><div class="ttdeci">uint32_t sectorsize</div><div class="ttdoc">sector Size of Serial Flash </div><div class="ttdef"><b>Definition:</b> qspi.h:200</div></div>
<div class="ttc" id="group__qspi__driver_html_ae11896e1c44b35f2bdab619d630a1913"><div class="ttname"><a href="group__qspi__driver.html#ae11896e1c44b35f2bdab619d630a1913">qspi_config_t::pre_unlock_cmd_address_offset</a></div><div class="ttdeci">uint32_t pre_unlock_cmd_address_offset</div><div class="ttdoc">Address for PreWriteEnable command. </div><div class="ttdef"><b>Definition:</b> qspi.h:208</div></div>
<div class="ttc" id="group__qspi__driver_html_a0a42f61c3d299b42e669c1f2b9e953b6"><div class="ttname"><a href="group__qspi__driver.html#a0a42f61c3d299b42e669c1f2b9e953b6">qspi_config_t::sflash_B2_size</a></div><div class="ttdeci">uint32_t sflash_B2_size</div><div class="ttdoc">Size of flash connected on QSPI0B Ports and QSPI0B_SS1, in terms of Bytes. </div><div class="ttdef"><b>Definition:</b> qspi.h:171</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151a1248f195df791bd4ddd1e641d459ab2a"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a1248f195df791bd4ddd1e641d459ab2a">kStatus_QspiCommandTimeout</a></div><div class="ttdoc">Error code which represents that operation is timeout. </div><div class="ttdef"><b>Definition:</b> qspi.h:140</div></div>
<div class="ttc" id="group__qspi__driver_html_aaad8e2fad615ba144bfd5c62926585d2"><div class="ttname"><a href="group__qspi__driver.html#aaad8e2fad615ba144bfd5c62926585d2">qspi_config_t::portA_cs1</a></div><div class="ttdeci">uint32_t portA_cs1</div><div class="ttdoc">Enable PORTA CS1. </div><div class="ttdef"><b>Definition:</b> qspi.h:179</div></div>
<div class="ttc" id="group__bl__core_html_ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f"><div class="ttname"><a href="group__bl__core.html#ggae9db7782b7f2dccb1dc6423be46ffc96ac4d0ba42131a1f2221998e4ee22ca61f">kStatusGroup_QuadSPIDriver</a></div><div class="ttdoc">QSPI driver status group number. </div><div class="ttdef"><b>Definition:</b> bootloader_common.h:157</div></div>
<div class="ttc" id="group__qspi__driver_html_ga1ea9651e0eca55cae9a374022ff766c9"><div class="ttname"><a href="group__qspi__driver.html#ga1ea9651e0eca55cae9a374022ff766c9">qspiflash_pad_t</a></div><div class="ttdeci">qspiflash_pad_t</div><div class="ttdoc">External spi flash pad definition. </div><div class="ttdef"><b>Definition:</b> qspi.h:68</div></div>
<div class="ttc" id="group__qspi__driver_html_a013f8cc9ea3b7ff16e17ec0c07352de2"><div class="ttname"><a href="group__qspi__driver.html#a013f8cc9ea3b7ff16e17ec0c07352de2">qspi_config_t::dqs_loopback</a></div><div class="ttdeci">uint32_t dqs_loopback</div><div class="ttdoc">Sets DQS LoopBack Mode to enable Dummy Pad MCR[24]. </div><div class="ttdef"><b>Definition:</b> qspi.h:158</div></div>
<div class="ttc" id="group__qspi__driver_html_a9ac3df101396a7a6f231cc3f12a89702"><div class="ttname"><a href="group__qspi__driver.html#a9ac3df101396a7a6f231cc3f12a89702">qspi_config_t::data_hold_time</a></div><div class="ttdeci">uint32_t data_hold_time</div><div class="ttdoc">Serial flash data In Hold time, valid value: 0/1/2. </div><div class="ttdef"><b>Definition:</b> qspi.h:159</div></div>
<div class="ttc" id="group__qspi__driver_html_ggac381772c6d2e8cee12b12f007414ef24af6ce7414a3875c261694c94c593bba5e"><div class="ttname"><a href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24af6ce7414a3875c261694c94c593bba5e">kQspiEndianess_64BE</a></div><div class="ttdoc">64-bit Big Endian </div><div class="ttdef"><b>Definition:</b> qspi.h:100</div></div>
<div class="ttc" id="group__qspi__driver_html_a903ebe70ed29099250194155e7338a5c"><div class="ttname"><a href="group__qspi__driver.html#a903ebe70ed29099250194155e7338a5c">qspi_config_t::device_cmd</a></div><div class="ttdeci">uint32_t device_cmd</div><div class="ttdoc">Command to be tranferred to device. </div><div class="ttdef"><b>Definition:</b> qspi.h:162</div></div>
<div class="ttc" id="group__qspi__driver_html_a65c767a4f608c5477ac852e91bc4f2df"><div class="ttname"><a href="group__qspi__driver.html#a65c767a4f608c5477ac852e91bc4f2df">qspi_config_t::dqs_phase_sel</a></div><div class="ttdeci">uint32_t dqs_phase_sel</div><div class="ttdoc">dqs phase sel </div><div class="ttdef"><b>Definition:</b> qspi.h:195</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151ab1a8d97862962a64fcd67bb70de9fa1b"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151ab1a8d97862962a64fcd67bb70de9fa1b">kStatus_QspiFlashAlignmentError</a></div><div class="ttdoc">Error code which represents that start address for programming is not page aligned. </div><div class="ttdef"><b>Definition:</b> qspi.h:127</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151a26a06eb4823c619f88da26537f09496c"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a26a06eb4823c619f88da26537f09496c">kStatus_QspiFlashCommandFailure</a></div><div class="ttdoc">Error code which represents that the operation is not successfully executed. </div><div class="ttdef"><b>Definition:</b> qspi.h:131</div></div>
<div class="ttc" id="group__qspi__driver_html_a6b846245ebf219b1b914b6ba7e2e329b"><div class="ttname"><a href="group__qspi__driver.html#a6b846245ebf219b1b914b6ba7e2e329b">qspi_config_t::word_addressable</a></div><div class="ttdeci">uint32_t word_addressable</div><div class="ttdoc">Determine if the serial flash is word addressable. </div><div class="ttdef"><b>Definition:</b> qspi.h:164</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151aefb307b5c4e07bf664d9dd2240650830"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151aefb307b5c4e07bf664d9dd2240650830">kStatus_QspiCommandNotSupported</a></div><div class="ttdoc">Error code which represents that a command is not supported under certain mode. </div><div class="ttdef"><b>Definition:</b> qspi.h:138</div></div>
<div class="ttc" id="group__qspi__driver_html_gga576461d7b38d5b13deca88af49c316c6a18a7922896000616fea087b277fa2a8d"><div class="ttname"><a href="group__qspi__driver.html#gga576461d7b38d5b13deca88af49c316c6a18a7922896000616fea087b277fa2a8d">kQspiPort_EnablePortA</a></div><div class="ttdoc">Only PORTA is enabled. </div><div class="ttdef"><b>Definition:</b> qspi.h:109</div></div>
<div class="ttc" id="group__qspi__driver_html_ga77c6eb19e36d42fe30542f0be5abc36c"><div class="ttname"><a href="group__qspi__driver.html#ga77c6eb19e36d42fe30542f0be5abc36c">qspiflash_property_t</a></div><div class="ttdeci">qspiflash_property_t</div><div class="ttdoc">QSPI flash property tag values. </div><div class="ttdef"><b>Definition:</b> qspi.h:85</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151a5f62db80f47121ce3cdc2d3b0afc0b82"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a5f62db80f47121ce3cdc2d3b0afc0b82">kStatus_QspiFlashUnknownProperty</a></div><div class="ttdoc">Error code which represents that the property is not supported. </div><div class="ttdef"><b>Definition:</b> qspi.h:133</div></div>
<div class="ttc" id="group__qspi__driver_html_gga77c6eb19e36d42fe30542f0be5abc36ca72cfbab9cddf61c000309066469b44b6"><div class="ttname"><a href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca72cfbab9cddf61c000309066469b44b6">kQspiFlashProperty_SectorSize</a></div><div class="ttdoc">Tag used to retrieve sector size in term of byte. </div><div class="ttdef"><b>Definition:</b> qspi.h:91</div></div>
<div class="ttc" id="group__qspi__driver_html_ggac381772c6d2e8cee12b12f007414ef24af1730f16b6016833750edaaecff46c6a"><div class="ttname"><a href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24af1730f16b6016833750edaaecff46c6a">kQspiEndianess_32LE</a></div><div class="ttdoc">32-bit Little Endian </div><div class="ttdef"><b>Definition:</b> qspi.h:101</div></div>
<div class="ttc" id="group__qspi__driver_html_af31f37d489ac5e643f3be90df8e144fd"><div class="ttname"><a href="group__qspi__driver.html#af31f37d489ac5e643f3be90df8e144fd">qspi_config_t::need_multi_phases</a></div><div class="ttdeci">uint32_t need_multi_phases</div><div class="ttdoc">Determine if multiple hases command are needed. </div><div class="ttdef"><b>Definition:</b> qspi.h:205</div></div>
<div class="ttc" id="group__qspi__driver_html_a46f61b647f152ab29d9d394aaa9ea109"><div class="ttname"><a href="group__qspi__driver.html#a46f61b647f152ab29d9d394aaa9ea109">qspi_config_t::dqs_fb_delay_chain_sel</a></div><div class="ttdeci">uint32_t dqs_fb_delay_chain_sel</div><div class="ttdoc">dqs fb delay chain selection </div><div class="ttdef"><b>Definition:</b> qspi.h:197</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6698308aac86ad1fa3b7ffa8a98fb24da79456c42f1ee632fe69e7895ec6c9879"><div class="ttname"><a href="group__qspi__driver.html#gga6698308aac86ad1fa3b7ffa8a98fb24da79456c42f1ee632fe69e7895ec6c9879">kQspiAHBDataTransferSize_64Bytes</a></div><div class="ttdoc">AHB data transfer size is 64bytes. </div><div class="ttdef"><b>Definition:</b> qspi.h:116</div></div>
<div class="ttc" id="group__qspi__driver_html_ga6bb53687c44bed1563bfe692a2e16151"><div class="ttname"><a href="group__qspi__driver.html#ga6bb53687c44bed1563bfe692a2e16151">qspiflash_status_t</a></div><div class="ttdeci">qspiflash_status_t</div><div class="ttdoc">Error codes of QuadSPI driver. </div><div class="ttdef"><b>Definition:</b> qspi.h:122</div></div>
<div class="ttc" id="group__bl__core_html_unionstandard__version__t"><div class="ttname"><a href="group__bl__core.html#unionstandard__version__t">standard_version_t</a></div><div class="ttdoc">Structure of version property. </div><div class="ttdef"><b>Definition:</b> bootloader_common.h:168</div></div>
<div class="ttc" id="group__qspi__driver_html_gga77c6eb19e36d42fe30542f0be5abc36caac12ddbbb8d1af4a825d8281dd4fda08"><div class="ttname"><a href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36caac12ddbbb8d1af4a825d8281dd4fda08">kQspiFlaghProperty_StartAddress</a></div><div class="ttdoc">Tag used to retrieve start address. </div><div class="ttdef"><b>Definition:</b> qspi.h:88</div></div>
<div class="ttc" id="group__qspi__driver_html_a68b7c31bc85968152c304eb815484592"><div class="ttname"><a href="group__qspi__driver.html#a68b7c31bc85968152c304eb815484592">qspi_config_t::sflash_type</a></div><div class="ttdeci">uint32_t sflash_type</div><div class="ttdoc">SPI flash type: 0-Single,1–Dual 2–Quad, 3– Octal. </div><div class="ttdef"><b>Definition:</b> qspi.h:174</div></div>
<div class="ttc" id="group__qspi__driver_html_ae5499727b9da2ec2132da606b2995033"><div class="ttname"><a href="group__qspi__driver.html#ae5499727b9da2ec2132da606b2995033">qspi_config_t::flash_CK2_clock_pin_enable</a></div><div class="ttdeci">uint32_t flash_CK2_clock_pin_enable</div><div class="ttdoc">Flash CK2 clock pin enable. </div><div class="ttdef"><b>Definition:</b> qspi.h:191</div></div>
<div class="ttc" id="group__qspi__driver_html_af3631b1a0cda575e4e8b2538cc7efe33"><div class="ttname"><a href="group__qspi__driver.html#af3631b1a0cda575e4e8b2538cc7efe33">qspi_config_t::pre_program_cmd_address_offset</a></div><div class="ttdeci">uint32_t pre_program_cmd_address_offset</div><div class="ttdoc">Address for PreProgram command. </div><div class="ttdef"><b>Definition:</b> qspi.h:210</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6698308aac86ad1fa3b7ffa8a98fb24da9b719ef9be46b0106d1a70022b325ce3"><div class="ttname"><a href="group__qspi__driver.html#gga6698308aac86ad1fa3b7ffa8a98fb24da9b719ef9be46b0106d1a70022b325ce3">kQspiAHBDataTransferSize_512Bytes</a></div><div class="ttdoc">AHB data transfer size is 512bytes. </div><div class="ttdef"><b>Definition:</b> qspi.h:118</div></div>
<div class="ttc" id="group__qspi__driver_html_ga576461d7b38d5b13deca88af49c316c6"><div class="ttname"><a href="group__qspi__driver.html#ga576461d7b38d5b13deca88af49c316c6">qspi_port_enable_t</a></div><div class="ttdeci">qspi_port_enable_t</div><div class="ttdoc">Port Enablement Option. </div><div class="ttdef"><b>Definition:</b> qspi.h:107</div></div>
<div class="ttc" id="group__qspi__driver_html_gga02f1188c182bdacfcea22e66919c6759af02a1e4ae16ecb0018f17ac9ade3c1ea"><div class="ttname"><a href="group__qspi__driver.html#gga02f1188c182bdacfcea22e66919c6759af02a1e4ae16ecb0018f17ac9ade3c1ea">kQspiFlashMode_Parallel</a></div><div class="ttdoc">Parallel mode. </div><div class="ttdef"><b>Definition:</b> qspi.h:64</div></div>
<div class="ttc" id="group__qspi__driver_html_a82322c694ee760151cf934579ce5f68d"><div class="ttname"><a href="group__qspi__driver.html#a82322c694ee760151cf934579ce5f68d">qspi_config_t::dqs_enable</a></div><div class="ttdeci">uint32_t dqs_enable</div><div class="ttdoc">Enable DQS mode if set to TRUE. </div><div class="ttdef"><b>Definition:</b> qspi.h:177</div></div>
<div class="ttc" id="group__qspi__driver_html_gaa1eb2512bd4dd6b70ac75f2e965d95d7"><div class="ttname"><a href="group__qspi__driver.html#gaa1eb2512bd4dd6b70ac75f2e965d95d7">quadspi_serial_clock_configure</a></div><div class="ttdeci">void quadspi_serial_clock_configure(qspi_serial_clock_freq_t freq)</div><div class="ttdoc">Configure QSPI serial clock frquency. </div></div>
<div class="ttc" id="group__qspi__driver_html_gga77c6eb19e36d42fe30542f0be5abc36caf611c1199a61e43eab834edf45476b06"><div class="ttname"><a href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36caf611c1199a61e43eab834edf45476b06">kQspiFlashProperty_TotalFlashSize</a></div><div class="ttdoc">Tag used to retrieve total flash size in terms of byte. </div><div class="ttdef"><b>Definition:</b> qspi.h:94</div></div>
<div class="ttc" id="group__qspi__driver_html_af1e2d9086e067491d1609eedf355d756"><div class="ttname"><a href="group__qspi__driver.html#af1e2d9086e067491d1609eedf355d756">qspi_config_t::timeout_milliseconds</a></div><div class="ttdeci">uint32_t timeout_milliseconds</div><div class="ttdef"><b>Definition:</b> qspi.h:202</div></div>
<div class="ttc" id="group__qspi__driver_html_gga1ea9651e0eca55cae9a374022ff766c9ad061152bfb2f7db55b12c4fa1876f6ce"><div class="ttname"><a href="group__qspi__driver.html#gga1ea9651e0eca55cae9a374022ff766c9ad061152bfb2f7db55b12c4fa1876f6ce">kQspiFlashPad_Quad</a></div><div class="ttdoc">Quad-pad spi flash. </div><div class="ttdef"><b>Definition:</b> qspi.h:72</div></div>
<div class="ttc" id="group__qspi__driver_html_afb396e735ffa4eb84d202a505583c188"><div class="ttname"><a href="group__qspi__driver.html#afb396e735ffa4eb84d202a505583c188">qspi_config_t::pre_read_status_cmd_address_offset</a></div><div class="ttdeci">uint32_t pre_read_status_cmd_address_offset</div><div class="ttdoc">Address for PreReadStatus command. </div><div class="ttdef"><b>Definition:</b> qspi.h:207</div></div>
<div class="ttc" id="group__qspi__driver_html_a012825ade562bd8bd99474b6a3b93068"><div class="ttname"><a href="group__qspi__driver.html#a012825ade562bd8bd99474b6a3b93068">qspi_config_t::fsdly</a></div><div class="ttdeci">uint32_t fsdly</div><div class="ttdoc">Full speed phase selection for SDR instructions. </div><div class="ttdef"><b>Definition:</b> qspi.h:182</div></div>
<div class="ttc" id="group__qspi__driver_html_ab33206084812124a68c2bceea8179175"><div class="ttname"><a href="group__qspi__driver.html#ab33206084812124a68c2bceea8179175">qspi_config_t::sflash_B1_size</a></div><div class="ttdeci">uint32_t sflash_B1_size</div><div class="ttdoc">Size of flash connected on QSPI0B Ports and QSPI0B_SS0, in terms of Bytes. </div><div class="ttdef"><b>Definition:</b> qspi.h:170</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151a67c37c7e7b0872e2909644db1364d598"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151a67c37c7e7b0872e2909644db1364d598">kStatus_QspiFlashSizeError</a></div><div class="ttdoc">Error code which represents that flash size is error. </div><div class="ttdef"><b>Definition:</b> qspi.h:125</div></div>
<div class="ttc" id="group__qspi__driver_html_a2483f6e701fdae5e55506f51039503ad"><div class="ttname"><a href="group__qspi__driver.html#a2483f6e701fdae5e55506f51039503ad">qspi_config_t::ddrsmp</a></div><div class="ttdeci">uint32_t ddrsmp</div><div class="ttdoc">Select the sampling point for incomming data when serial flash is in DDR mdoe. </div><div class="ttdef"><b>Definition:</b> qspi.h:183</div></div>
<div class="ttc" id="group__qspi__driver_html_a84c4a4dacb8004e9433162baa328c5e8"><div class="ttname"><a href="group__qspi__driver.html#a84c4a4dacb8004e9433162baa328c5e8">qspi_config_t::parallel_mode_enable</a></div><div class="ttdeci">uint32_t parallel_mode_enable</div><div class="ttdoc">Enable Individual or parrallel mode. </div><div class="ttdef"><b>Definition:</b> qspi.h:178</div></div>
<div class="ttc" id="group__qspi__driver_html_gga3cb2930eb063b8a0ee0d0ad6461185dcae5253546d3c63443dfc65b31b73ead05"><div class="ttname"><a href="group__qspi__driver.html#gga3cb2930eb063b8a0ee0d0ad6461185dcae5253546d3c63443dfc65b31b73ead05">kQspiSerialClockFreq_Low</a></div><div class="ttdoc">QuadSPI module works at low frequency. </div><div class="ttdef"><b>Definition:</b> qspi.h:79</div></div>
<div class="ttc" id="group__qspi__driver_html_acc4e5bd1a040b1145d56f7ea811a7d29"><div class="ttname"><a href="group__qspi__driver.html#acc4e5bd1a040b1145d56f7ea811a7d29">qspi_config_t::portB_cs1</a></div><div class="ttdeci">uint32_t portB_cs1</div><div class="ttdoc">Enable PORTB CS1. </div><div class="ttdef"><b>Definition:</b> qspi.h:180</div></div>
<div class="ttc" id="group__qspi__driver_html_gacaa0aee260c2e21ddb6457f4db51c167"><div class="ttname"><a href="group__qspi__driver.html#gacaa0aee260c2e21ddb6457f4db51c167">quadspi_iomux_configuration</a></div><div class="ttdeci">status_t quadspi_iomux_configuration(qspi_config_t *config_base)</div><div class="ttdoc">Configure pinmux of QSPI module according to parameters passed in. </div></div>
<div class="ttc" id="group__qspi__driver_html_ga02f1188c182bdacfcea22e66919c6759"><div class="ttname"><a href="group__qspi__driver.html#ga02f1188c182bdacfcea22e66919c6759">qspiflash_mode_option_t</a></div><div class="ttdeci">qspiflash_mode_option_t</div><div class="ttdoc">QSPI Flash mode options. </div><div class="ttdef"><b>Definition:</b> qspi.h:61</div></div>
<div class="ttc" id="group__qspi__driver_html_gafe5d4eb1c09cf453dff43220b6a12703"><div class="ttname"><a href="group__qspi__driver.html#gafe5d4eb1c09cf453dff43220b6a12703">__qspi_config_block_tags</a></div><div class="ttdeci">__qspi_config_block_tags</div><div class="ttdef"><b>Definition:</b> qspi.h:51</div></div>
<div class="ttc" id="group__qspi__driver_html_gga77c6eb19e36d42fe30542f0be5abc36ca283f59e5b05dd12d456d32b4bd6d275f"><div class="ttname"><a href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca283f59e5b05dd12d456d32b4bd6d275f">kQspiFlashProperty_BlockSize</a></div><div class="ttdoc">Tag used to retrieve block size in terms of byte. </div><div class="ttdef"><b>Definition:</b> qspi.h:92</div></div>
<div class="ttc" id="group__qspi__driver_html_a4dbfb33851f77c89ba3502337566e047"><div class="ttname"><a href="group__qspi__driver.html#a4dbfb33851f77c89ba3502337566e047">qspi_config_t::dqs_fa_delay_chain_sel</a></div><div class="ttdeci">uint32_t dqs_fa_delay_chain_sel</div><div class="ttdoc">dqs fa delay chain selection </div><div class="ttdef"><b>Definition:</b> qspi.h:196</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151ae7acc06777f1bcf42a185c6df5017160"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151ae7acc06777f1bcf42a185c6df5017160">kStatusQspiModuleBusy</a></div><div class="ttdoc">Error code which represents that the QSPI module is busy, which may be caused by incorrect. </div><div class="ttdef"><b>Definition:</b> qspi.h:147</div></div>
<div class="ttc" id="group__qspi__driver_html_a6d5f834a07140ca6f0d9539cc5e905fb"><div class="ttname"><a href="group__qspi__driver.html#a6d5f834a07140ca6f0d9539cc5e905fb">qspi_config_t::unlock_cmd_address_offset</a></div><div class="ttdeci">uint32_t unlock_cmd_address_offset</div><div class="ttdoc">Address for WriteEnable command. </div><div class="ttdef"><b>Definition:</b> qspi.h:209</div></div>
<div class="ttc" id="group__qspi__driver_html_ggac381772c6d2e8cee12b12f007414ef24a7be4271723d9a2c6f8e681c8c2153c22"><div class="ttname"><a href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24a7be4271723d9a2c6f8e681c8c2153c22">kQspiEndianess_32BE</a></div><div class="ttdoc">32-bit Big Endian </div><div class="ttdef"><b>Definition:</b> qspi.h:102</div></div>
<div class="ttc" id="group__qspi__driver_html_ggac381772c6d2e8cee12b12f007414ef24aab8369c9ad827efab388289c9be9d525"><div class="ttname"><a href="group__qspi__driver.html#ggac381772c6d2e8cee12b12f007414ef24aab8369c9ad827efab388289c9be9d525">kQspiEndianess_64LE</a></div><div class="ttdoc">64-bit Little Endian </div><div class="ttdef"><b>Definition:</b> qspi.h:103</div></div>
<div class="ttc" id="group__qspi__driver_html_a1bde68e63a789e4f14a681a502399bea"><div class="ttname"><a href="group__qspi__driver.html#a1bde68e63a789e4f14a681a502399bea">qspi_config_t::column_address_space</a></div><div class="ttdeci">uint32_t column_address_space</div><div class="ttdoc">The width of the column address. </div><div class="ttdef"><b>Definition:</b> qspi.h:186</div></div>
<div class="ttc" id="group__qspi__driver_html_ab5805c535f737e9a32670f5a45b50add"><div class="ttname"><a href="group__qspi__driver.html#ab5805c535f737e9a32670f5a45b50add">qspi_config_t::version</a></div><div class="ttdeci">standard_version_t version</div><div class="ttdef"><b>Definition:</b> qspi.h:154</div></div>
<div class="ttc" id="group__qspi__driver_html_a1c50fcd1195659821729f52af8f3bb7d"><div class="ttname"><a href="group__qspi__driver.html#a1c50fcd1195659821729f52af8f3bb7d">qspi_config_t::tag</a></div><div class="ttdeci">uint32_t tag</div><div class="ttdoc">Set to magic number of &amp;#39;kqcf&amp;#39;. </div><div class="ttdef"><b>Definition:</b> qspi.h:153</div></div>
<div class="ttc" id="group__qspi__driver_html_gga6bb53687c44bed1563bfe692a2e16151ad106f03c095c273e7c8940a0a69e0a69"><div class="ttname"><a href="group__qspi__driver.html#gga6bb53687c44bed1563bfe692a2e16151ad106f03c095c273e7c8940a0a69e0a69">kStatus_QspiNotConfigured</a></div><div class="ttdoc">Error code which represents that qspi module is not configured yet. </div><div class="ttdef"><b>Definition:</b> qspi.h:135</div></div>
<div class="ttc" id="group__ksdk__common_html_gaaabdaf7ee58ca7269bd4bf24efcde092"><div class="ttname"><a href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a></div><div class="ttdeci">int32_t status_t</div><div class="ttdoc">Type used for all status and error return values. </div><div class="ttdef"><b>Definition:</b> fsl_common.h:121</div></div>
<div class="ttc" id="group__qspi__driver_html_ga6698308aac86ad1fa3b7ffa8a98fb24d"><div class="ttname"><a href="group__qspi__driver.html#ga6698308aac86ad1fa3b7ffa8a98fb24d">qspi_ahb_data_transfer_size_t</a></div><div class="ttdeci">qspi_ahb_data_transfer_size_t</div><div class="ttdoc">Definition for AHB data tranfer size. </div><div class="ttdef"><b>Definition:</b> qspi.h:114</div></div>
<div class="ttc" id="group__qspi__driver_html_ad9f96e50490045236e5e1f82761a0862"><div class="ttname"><a href="group__qspi__driver.html#ad9f96e50490045236e5e1f82761a0862">qspi_config_t::device_mode_config_en</a></div><div class="ttdeci">uint32_t device_mode_config_en</div><div class="ttdoc">Determine if it is required to config working mode of external spi flash. </div><div class="ttdef"><b>Definition:</b> qspi.h:161</div></div>
<div class="ttc" id="group__qspi__driver_html_ga7744c96ea1f473d2fa00e2fcba923204"><div class="ttname"><a href="group__qspi__driver.html#ga7744c96ea1f473d2fa00e2fcba923204">quadspi_page_program</a></div><div class="ttdeci">status_t quadspi_page_program(uint32_t dst_addr, const uint32_t *src, uint32_t lengthInBytes)</div><div class="ttdoc">Page program to external spi flash. </div></div>
<div class="ttc" id="group__qspi__driver_html_gga3cb2930eb063b8a0ee0d0ad6461185dca8495248acb7110dbdceba1320f411c92"><div class="ttname"><a href="group__qspi__driver.html#gga3cb2930eb063b8a0ee0d0ad6461185dca8495248acb7110dbdceba1320f411c92">kQspiSerialClockFreq_High</a></div><div class="ttdoc">QuadSPI module works at high frequency. </div><div class="ttdef"><b>Definition:</b> qspi.h:81</div></div>
<div class="ttc" id="group__qspi__driver_html_ac9b2e3bf4c9d53d1ce0ac30eef5ef080"><div class="ttname"><a href="group__qspi__driver.html#ac9b2e3bf4c9d53d1ce0ac30eef5ef080">qspi_config_t::dqs_latency_enable</a></div><div class="ttdeci">uint32_t dqs_latency_enable</div><div class="ttdoc">DQS Latency Enable. </div><div class="ttdef"><b>Definition:</b> qspi.h:193</div></div>
<div class="ttc" id="group__qspi__driver_html_a75c3e09225679ed59786d46618cf5188"><div class="ttname"><a href="group__qspi__driver.html#a75c3e09225679ed59786d46618cf5188">qspi_config_t::sflash_A2_size</a></div><div class="ttdeci">uint32_t sflash_A2_size</div><div class="ttdoc">Size of flash connected on QSPI0A Ports and QSPI0A_SS1, in terms of Bytes. </div><div class="ttdef"><b>Definition:</b> qspi.h:169</div></div>
<div class="ttc" id="group__qspi__driver_html_gga77c6eb19e36d42fe30542f0be5abc36ca208d8a537dde51f4e386b166fbffdfc8"><div class="ttname"><a href="group__qspi__driver.html#gga77c6eb19e36d42fe30542f0be5abc36ca208d8a537dde51f4e386b166fbffdfc8">kQspiFlashProperty_PageSize</a></div><div class="ttdoc">Tag used to retreive page size in terms of byte. </div><div class="ttdef"><b>Definition:</b> qspi.h:90</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c718a368270b13c54d94892d20736f45.html">drivers</a></li><li class="navelem"><a class="el" href="dir_eeae5f599b82c6719edcb75e96e54dfa.html">qspi</a></li><li class="navelem"><b>qspi.h</b></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:48:23 for Kinetis Bootloader by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
